<template>
  <div class="son">
    <h3>我是Son组件（孙）</h3>
    <Dialog />
  </div>
</template>

<script>
import { inject } from 'vue'
import Dialog from "./Dialog.vue"


export default {
  name: 'Son',
  components: { Dialog },
  setup() {
    
  }
}
</script>

<style>
.son {
  padding: 10px;
  background-color: yellowgreen;
}
</style>